using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.Diagnostics;

namespace CodePlex.Resourceful
{



    public static class EnvironmentInfo 
    {
        
#if SILVERLIGHT
        private static readonly bool __isSilverlight = true;
        private static readonly bool __isInternetExplorer7 = System.Windows.Browser.HtmlPage.BrowserInformation.UserAgent.Contains("MSIE 7.0");
        private static readonly bool __isMac = Environment.OSVersion.Platform == PlatformID.MacOSX;
        private static readonly bool __isSafari = System.Windows.Browser.HtmlPage.BrowserInformation.UserAgent.Contains("Safari");
#else
        private static readonly bool __isSilverlight = false;
        private static readonly bool __isInternetExplorer7 = false;
        private static readonly bool __isMac = false;   // TODO mono
        private static readonly bool __isSafari = false;
#endif

        private static readonly bool __isMono = Type.GetType("Mono.Runtime") != null;
        //private static readonly int __frameworkRevision = FileVersionInfo.GetVersionInfo(Assembly.Load("mscorlib").Location).ProductPrivatePart;  // not in SL
        public static bool IsMono
        {
            get
            {
                return __isMono;
            }
        }

        public static bool IsSilverlight
        {
            get
            {
                return __isSilverlight;
            }
        }

        public static bool IsMac
        {
            get
            {
                return __isMac;
            }
        }

        public static bool IsInternetExplorer7
        {
            get
            {
                return __isInternetExplorer7;
            }
        }

        public static bool IsSafari
        {
            get
            {
                return __isSafari ;
            }
        }

        //public static int FrameworkRevision
        //{
        //    get
        //    {
        //        return __frameworkRevision;
        //    }
        //}
    }

    public static class MediaType
    {


       



        // iana

        // (code generator)

//        private static readonly string data = @"value1
//value2
//value3";

//        private static void Foo()
//        {


//            string capType = "Type";

//            using (StringReader reader = new StringReader(data))
//            {

//                string value;
//                int i = 0;
//                int m = 10000;

//                while (true)
//                {
//                    value = reader.ReadLine();
//                    if (string.IsNullOrEmpty(value) || i > m)
//                    {
//                        break;
//                    }

//                    Converter<string, string> fn = delegate(string item)
//                    {
//                        StringBuilder rt2 = new StringBuilder();

//                        bool capNext = true;

//                        foreach (char c in item)
//                        {

//                            if (capNext)
//                            {
//                                rt2.Append(Char.ToUpper(c));
//                                capNext = false;
//                            }
//                            else
//                            {
//                                if ("-.+".IndexOf(c) > -1)
//                                {
//                                    capNext = true;
//                                }
//                                else
//                                {
//                                    rt2.Append(c);
//                                }
//                            }
//                        }


//                        return rt2.ToString();
//                    };

//                    string value2 = fn(value);

//                    string rt = "\tpublic static readonly string " + capType + value2 + " = \"" + capType.ToLower() + "/" + value + "\";";

//                    i++;
//                    Trace.WriteLine(rt);
//                }



//            }


//        }
    

        // http://www.iana.org/assignments/media-types/application/
        public static readonly string ApplicationActivemessage = "application/activemessage";
        public static readonly string ApplicationAndrewInset = "application/andrew-inset";
        public static readonly string ApplicationApplefile = "application/applefile";
        public static readonly string ApplicationAtomXml = "application/atom+xml";
        public static readonly string ApplicationAtomicmail = "application/atomicmail";
        public static readonly string ApplicationAtomcatXml = "application/atomcat+xml";
        public static readonly string ApplicationAtomsvcXml = "application/atomsvc+xml";
        public static readonly string ApplicationAuthPolicyXml = "application/auth-policy+xml";
        public static readonly string ApplicationBatchSMTP = "application/batch-SMTP";
        public static readonly string ApplicationBeepXml = "application/beep+xml";
        public static readonly string ApplicationCals1840 = "application/cals-1840";
        public static readonly string ApplicationCcxmlXml = "application/ccxml+xml";
        public static readonly string ApplicationCellmlXml = "application/cellml+xml";
        public static readonly string ApplicationCnrpXml = "application/cnrp+xml";
        public static readonly string ApplicationCommonground = "application/commonground";
        public static readonly string ApplicationConferenceInfoXml = "application/conference-info+xml";
        public static readonly string ApplicationCplXml = "application/cpl+xml";
        public static readonly string ApplicationCstaXml = "application/csta+xml";
        public static readonly string ApplicationCSTAdataXml = "application/CSTAdata+xml";
        public static readonly string ApplicationCybercash = "application/cybercash";
        public static readonly string ApplicationDavmountXml = "application/davmount+xml";
        public static readonly string ApplicationDcaRft = "application/dca-rft";
        public static readonly string ApplicationDecDx = "application/dec-dx";
        public static readonly string ApplicationDialogInfoXml = "application/dialog-info+xml";
        public static readonly string ApplicationDicom = "application/dicom";
        public static readonly string ApplicationDns = "application/dns";
        public static readonly string ApplicationDvcs = "application/dvcs";
        public static readonly string ApplicationEcmascript = "application/ecmascript";
        public static readonly string ApplicationEDIConsent = "application/EDI-Consent";
        public static readonly string ApplicationEDIFACT = "application/EDIFACT";
        public static readonly string ApplicationEDIX12 = "application/EDI-X12";
        public static readonly string ApplicationEppXml = "application/epp+xml";
        public static readonly string ApplicationEshop = "application/eshop";
        public static readonly string ApplicationExample = "application/example";
        public static readonly string ApplicationFastinfoset = "application/fastinfoset";
        public static readonly string ApplicationFastsoap = "application/fastsoap";
        public static readonly string ApplicationFits = "application/fits";
        public static readonly string ApplicationFontTdpfr = "application/font-tdpfr";
        public static readonly string ApplicationH224 = "application/H224";
        public static readonly string ApplicationHttp = "application/http";
        public static readonly string ApplicationHyperstudio = "application/hyperstudio";
        public static readonly string ApplicationIges = "application/iges";
        public static readonly string ApplicationImIscomposingXml = "application/im-iscomposing+xml";
        public static readonly string ApplicationIndex = "application/index";
        public static readonly string ApplicationIndexCmd = "application/index.cmd";
        public static readonly string ApplicationIndexObj = "application/index.obj";
        public static readonly string ApplicationIndexResponse = "application/index.response";
        public static readonly string ApplicationIndexVnd = "application/index.vnd";
        public static readonly string ApplicationIotp = "application/iotp";
        public static readonly string ApplicationIpp = "application/ipp";
        public static readonly string ApplicationIsup = "application/isup";
        public static readonly string ApplicationJavascript = "application/javascript";
        public static readonly string ApplicationJson = "application/json";
        public static readonly string ApplicationKpmlRequestXml = "application/kpml-request+xml";
        public static readonly string ApplicationKpmlResponseXml = "application/kpml-response+xml";
        public static readonly string ApplicationMacBinhex40 = "application/mac-binhex40";
        public static readonly string ApplicationMacwriteii = "application/macwriteii";
        public static readonly string ApplicationMarc = "application/marc";
        public static readonly string ApplicationMathematica = "application/mathematica";
        public static readonly string ApplicationMbmsAssociatedProcedureDescriptionXml = "application/mbms-associated-procedure-description+xml";
        public static readonly string ApplicationMbmsDeregisterXml = "application/mbms-deregister+xml";
        public static readonly string ApplicationMbmsEnvelopeXml = "application/mbms-envelope+xml";
        public static readonly string ApplicationMbmsMskResponseXml = "application/mbms-msk-response+xml";
        public static readonly string ApplicationMbmsMskXml = "application/mbms-msk+xml";
        public static readonly string ApplicationMbmsProtectionDescriptionXml = "application/mbms-protection-description+xml";
        public static readonly string ApplicationMbmsReceptionReportXml = "application/mbms-reception-report+xml";
        public static readonly string ApplicationMbmsRegisterResponseXml = "application/mbms-register-response+xml";
        public static readonly string ApplicationMbmsRegisterXml = "application/mbms-register+xml";
        public static readonly string ApplicationMbmsUserServiceDescriptionXml = "application/mbms-user-service-description+xml";
        public static readonly string ApplicationMbox = "application/mbox";
        public static readonly string ApplicationMediaservercontrolXml = "application/mediaservercontrol+xml";
        public static readonly string ApplicationMikey = "application/mikey";
        public static readonly string ApplicationMpeg4Generic = "application/mpeg4-generic";
        public static readonly string ApplicationMpeg4Iod = "application/mpeg4-iod";
        public static readonly string ApplicationMpeg4IodXmt = "application/mpeg4-iod-xmt";
        public static readonly string ApplicationMp4 = "application/mp4";
        public static readonly string ApplicationMsword = "application/msword";
        public static readonly string ApplicationMxf = "application/mxf";
        public static readonly string ApplicationNasdata = "application/nasdata";
        public static readonly string ApplicationNewsMessageId = "application/news-message-id";
        public static readonly string ApplicationNewsTransmission = "application/news-transmission";
        public static readonly string ApplicationNss = "application/nss";
        public static readonly string ApplicationOcspRequest = "application/ocsp-request";
        public static readonly string ApplicationOcspResponse = "application/ocsp-response";
        public static readonly string ApplicationOctetStream = "application/octet-stream";
        public static readonly string ApplicationOda = "application/oda";
        public static readonly string ApplicationOebpsPackageXml = "application/oebps-package+xml";
        public static readonly string ApplicationOgg = "application/ogg";
        public static readonly string ApplicationParityfec = "application/parityfec";
        public static readonly string ApplicationPdf = "application/pdf";
        public static readonly string ApplicationPgpEncrypted = "application/pgp-encrypted";
        public static readonly string ApplicationPgpKeys = "application/pgp-keys";
        public static readonly string ApplicationPgpSignature = "application/pgp-signature";
        public static readonly string ApplicationPidfXml = "application/pidf+xml";
        public static readonly string ApplicationPkcs10 = "application/pkcs10";
        public static readonly string ApplicationPkcs7Mime = "application/pkcs7-mime";
        public static readonly string ApplicationPkcs7Signature = "application/pkcs7-signature";
        public static readonly string ApplicationPkixCert = "application/pkix-cert";
        public static readonly string ApplicationPkixcmp = "application/pkixcmp";
        public static readonly string ApplicationPkixCrl = "application/pkix-crl";
        public static readonly string ApplicationPkixPkipath = "application/pkix-pkipath";
        public static readonly string ApplicationPlsXml = "application/pls+xml";
        public static readonly string ApplicationPocSettingsXml = "application/poc-settings+xml";
        public static readonly string ApplicationPostscript = "application/postscript";
        public static readonly string ApplicationPrsAlvestrandTitraxSheet = "application/prs.alvestrand.titrax-sheet";
        public static readonly string ApplicationPrsCww = "application/prs.cww";
        public static readonly string ApplicationPrsNprend = "application/prs.nprend";
        public static readonly string ApplicationPrsPlucker = "application/prs.plucker";
        public static readonly string ApplicationRdfXml = "application/rdf+xml";
        public static readonly string ApplicationQsig = "application/qsig";
        public static readonly string ApplicationReginfoXml = "application/reginfo+xml";
        public static readonly string ApplicationRelaxNgCompactSyntax = "application/relax-ng-compact-syntax";
        public static readonly string ApplicationRemotePrinting = "application/remote-printing";
        public static readonly string ApplicationResourceListsXml = "application/resource-lists+xml";
        public static readonly string ApplicationRiscos = "application/riscos";
        public static readonly string ApplicationRlmiXml = "application/rlmi+xml";
        public static readonly string ApplicationRlsServicesXml = "application/rls-services+xml";
        public static readonly string ApplicationRtf = "application/rtf";
        public static readonly string ApplicationRtx = "application/rtx";
        public static readonly string ApplicationSamlassertionXml = "application/samlassertion+xml";
        public static readonly string ApplicationSamlmetadataXml = "application/samlmetadata+xml";
        public static readonly string ApplicationSbmlXml = "application/sbml+xml";
        public static readonly string ApplicationSdp = "application/sdp";
        public static readonly string ApplicationSetPayment = "application/set-payment";
        public static readonly string ApplicationSetPaymentInitiation = "application/set-payment-initiation";
        public static readonly string ApplicationSetRegistration = "application/set-registration";
        public static readonly string ApplicationSetRegistrationInitiation = "application/set-registration-initiation";
        public static readonly string ApplicationSgml = "application/sgml";
        public static readonly string ApplicationSgmlOpenCatalog = "application/sgml-open-catalog";
        public static readonly string ApplicationShfXml = "application/shf+xml";
        public static readonly string ApplicationSieve = "application/sieve";
        public static readonly string ApplicationSimpleFilterXml = "application/simple-filter+xml";
        public static readonly string ApplicationSimpleMessageSummary = "application/simple-message-summary";
        public static readonly string ApplicationSimpleSymbolContainer = "application/simpleSymbolContainer";
        public static readonly string ApplicationSlate = "application/slate";
        public static readonly string ApplicationSmil = "application/smil"; // obsolete
        public static readonly string ApplicationSmilXml = "application/smil+xml";
        public static readonly string ApplicationSoapFastinfoset = "application/soap+fastinfoset";
        public static readonly string ApplicationSoapXml = "application/soap+xml";
        public static readonly string ApplicationSpiritsEventXml = "application/spirits-event+xml";
        public static readonly string ApplicationSrgs = "application/srgs";
        public static readonly string ApplicationSrgsXml = "application/srgs+xml";
        public static readonly string ApplicationSsmlXml = "application/ssml+xml";
        public static readonly string ApplicationTimestampQuery = "application/timestamp-query";
        public static readonly string ApplicationTimestampReply = "application/timestamp-reply";
        public static readonly string ApplicationTveTrigger = "application/tve-trigger";
        public static readonly string ApplicationVemmi = "application/vemmi";
        public static readonly string ApplicationVnd3gppBsfXml = "application/vnd.3gpp.bsf+xml";
        public static readonly string ApplicationVnd3gppPicBwLarge = "application/vnd.3gpp.pic-bw-large";
        public static readonly string ApplicationVnd3gppPicBwSmall = "application/vnd.3gpp.pic-bw-small";
        public static readonly string ApplicationVnd3gppPicBwVar = "application/vnd.3gpp.pic-bw-var";
        public static readonly string ApplicationVnd3gppSms = "application/vnd.3gpp.sms";
        public static readonly string ApplicationVnd3gpp2BcmcsinfoXml = "application/vnd.3gpp2.bcmcsinfo+xml";
        public static readonly string ApplicationVnd3gpp2Sms = "application/vnd.3gpp2.sms";
        public static readonly string ApplicationVnd3MPostItNotes = "application/vnd.3M.Post-it-Notes";
        public static readonly string ApplicationVndAccpacSimplyAso = "application/vnd.accpac.simply.aso";
        public static readonly string ApplicationVndAccpacSimplyImp = "application/vnd.accpac.simply.imp";
        public static readonly string ApplicationVndAcucobol = "application/vnd.acucobol";
        public static readonly string ApplicationVndAcucorp = "application/vnd.acucorp";
        public static readonly string ApplicationVndAdobeXdpXml = "application/vnd.adobe.xdp+xml";
        public static readonly string ApplicationVndAdobeXfdf = "application/vnd.adobe.xfdf";
        public static readonly string ApplicationVndAetherImp = "application/vnd.aether.imp";
        public static readonly string ApplicationVndAmigaAmi = "application/vnd.amiga.ami";
        public static readonly string ApplicationVndAnserWebCertificateIssueInitiation = "application/vnd.anser-web-certificate-issue-initiation";
        public static readonly string ApplicationVndAppleInstallerXml = "application/vnd.apple.installer+xml";
        public static readonly string ApplicationVndAudiograph = "application/vnd.audiograph";
        public static readonly string ApplicationVndAutopackage = "application/vnd.autopackage";
        public static readonly string ApplicationVndAvistarXml = "application/vnd.avistar+xml";
        public static readonly string ApplicationVndBlueiceMultipass = "application/vnd.blueice.multipass";
        public static readonly string ApplicationVndBmi = "application/vnd.bmi";
        public static readonly string ApplicationVndBusinessobjects = "application/vnd.businessobjects";
        public static readonly string ApplicationVndCabJscript = "application/vnd.cab-jscript";
        public static readonly string ApplicationVndCanonCpdl = "application/vnd.canon-cpdl";
        public static readonly string ApplicationVndCanonLips = "application/vnd.canon-lips";
        public static readonly string ApplicationVndCendioThinlincClientconf = "application/vnd.cendio.thinlinc.clientconf";
        public static readonly string ApplicationVndChemdrawXml = "application/vnd.chemdraw+xml";
        public static readonly string ApplicationVndChipnutsKaraokeMmd = "application/vnd.chipnuts.karaoke-mmd";
        public static readonly string ApplicationVndCinderella = "application/vnd.cinderella";
        public static readonly string ApplicationVndCirpackIsdnExt = "application/vnd.cirpack.isdn-ext";
        public static readonly string ApplicationVndClaymore = "application/vnd.claymore";
        public static readonly string ApplicationVndClonkC4group = "application/vnd.clonk.c4group";
        public static readonly string ApplicationVndCommerceBattelle = "application/vnd.commerce-battelle";
        public static readonly string ApplicationVndCommonspace = "application/vnd.commonspace";
        public static readonly string ApplicationVndCosmocaller = "application/vnd.cosmocaller";
        public static readonly string ApplicationVndContactCmsg = "application/vnd.contact.cmsg";
        public static readonly string ApplicationVndCrickClicker = "application/vnd.crick.clicker";
        public static readonly string ApplicationVndCrickClickerKeyboard = "application/vnd.crick.clicker.keyboard";
        public static readonly string ApplicationVndCrickClickerPalette = "application/vnd.crick.clicker.palette";
        public static readonly string ApplicationVndCrickClickerTemplate = "application/vnd.crick.clicker.template";
        public static readonly string ApplicationVndCrickClickerWordbank = "application/vnd.crick.clicker.wordbank";
        public static readonly string ApplicationVndCriticaltoolsWbsXml = "application/vnd.criticaltools.wbs+xml";
        public static readonly string ApplicationVndCtcPosml = "application/vnd.ctc-posml";
        public static readonly string ApplicationVndCupsPdf = "application/vnd.cups-pdf";
        public static readonly string ApplicationVndCupsPostscript = "application/vnd.cups-postscript";
        public static readonly string ApplicationVndCupsPpd = "application/vnd.cups-ppd";
        public static readonly string ApplicationVndCupsRaster = "application/vnd.cups-raster";
        public static readonly string ApplicationVndCupsRaw = "application/vnd.cups-raw";
        public static readonly string ApplicationVndCurl = "application/vnd.curl";
        public static readonly string ApplicationVndCybank = "application/vnd.cybank";
        public static readonly string ApplicationVndDataVisionRdz = "application/vnd.data-vision.rdz";
        public static readonly string ApplicationVndDenovoFcselayoutLink = "application/vnd.denovo.fcselayout-link";
        public static readonly string ApplicationVndDna = "application/vnd.dna";
        public static readonly string ApplicationVndDpgraph = "application/vnd.dpgraph";
        public static readonly string ApplicationVndDreamfactory = "application/vnd.dreamfactory";
        public static readonly string ApplicationVndDvbEsgcontainer = "application/vnd.dvb.esgcontainer";
        public static readonly string ApplicationVndDvbIpdcesgaccess = "application/vnd.dvb.ipdcesgaccess";
        public static readonly string ApplicationVndDxr = "application/vnd.dxr";
        public static readonly string ApplicationVndEcdisUpdate = "application/vnd.ecdis-update";
        public static readonly string ApplicationVndEcowinChart = "application/vnd.ecowin.chart";
        public static readonly string ApplicationVndEcowinFilerequest = "application/vnd.ecowin.filerequest";
        public static readonly string ApplicationVndEcowinFileupdate = "application/vnd.ecowin.fileupdate";
        public static readonly string ApplicationVndEcowinSeries = "application/vnd.ecowin.series";
        public static readonly string ApplicationVndEcowinSeriesrequest = "application/vnd.ecowin.seriesrequest";
        public static readonly string ApplicationVndEcowinSeriesupdate = "application/vnd.ecowin.seriesupdate";
        public static readonly string ApplicationVndEnliven = "application/vnd.enliven";
        public static readonly string ApplicationVndEpsonEsf = "application/vnd.epson.esf";
        public static readonly string ApplicationVndEpsonMsf = "application/vnd.epson.msf";
        public static readonly string ApplicationVndEpsonQuickanime = "application/vnd.epson.quickanime";
        public static readonly string ApplicationVndEpsonSalt = "application/vnd.epson.salt";
        public static readonly string ApplicationVndEpsonSsf = "application/vnd.epson.ssf";
        public static readonly string ApplicationVndEricssonQuickcall = "application/vnd.ericsson.quickcall";
        public static readonly string ApplicationVndEszigno3Xml = "application/vnd.eszigno3+xml";
        public static readonly string ApplicationVndEudoraData = "application/vnd.eudora.data";
        public static readonly string ApplicationVndEzpixAlbum = "application/vnd.ezpix-album";
        public static readonly string ApplicationVndEzpixPackage = "application/vnd.ezpix-package";
        public static readonly string ApplicationVndFdf = "application/vnd.fdf";
        public static readonly string ApplicationVndFfsns = "application/vnd.ffsns";
        public static readonly string ApplicationVndFints = "application/vnd.fints";
        public static readonly string ApplicationVndFloGraphIt = "application/vnd.FloGraphIt";
        public static readonly string ApplicationVndFluxtimeClip = "application/vnd.fluxtime.clip";
        public static readonly string ApplicationVndFramemaker = "application/vnd.framemaker";
        public static readonly string ApplicationVndFrogansFnc = "application/vnd.frogans.fnc";
        public static readonly string ApplicationVndFrogansLtf = "application/vnd.frogans.ltf";
        public static readonly string ApplicationVndFscWeblaunch = "application/vnd.fsc.weblaunch";
        public static readonly string ApplicationVndFujitsuOasys = "application/vnd.fujitsu.oasys";
        public static readonly string ApplicationVndFujitsuOasys2 = "application/vnd.fujitsu.oasys2";
        public static readonly string ApplicationVndFujitsuOasys3 = "application/vnd.fujitsu.oasys3";
        public static readonly string ApplicationVndFujitsuOasysgp = "application/vnd.fujitsu.oasysgp";
        public static readonly string ApplicationVndFujitsuOasysprs = "application/vnd.fujitsu.oasysprs";
        public static readonly string ApplicationVndFujixeroxART4 = "application/vnd.fujixerox.ART4";
        public static readonly string ApplicationVndFujixeroxARTEX = "application/vnd.fujixerox.ART-EX";
        public static readonly string ApplicationVndFujixeroxDdd = "application/vnd.fujixerox.ddd";
        public static readonly string ApplicationVndFujixeroxDocuworks = "application/vnd.fujixerox.docuworks";
        public static readonly string ApplicationVndFujixeroxDocuworksBinder = "application/vnd.fujixerox.docuworks.binder";
        public static readonly string ApplicationVndFujixeroxHBPL = "application/vnd.fujixerox.HBPL";
        public static readonly string ApplicationVndFutMisnet = "application/vnd.fut-misnet";
        public static readonly string ApplicationVndFuzzysheet = "application/vnd.fuzzysheet";
        public static readonly string ApplicationVndGenomatixTuxedo = "application/vnd.genomatix.tuxedo";
        public static readonly string ApplicationVndGoogleEarthKmlXml = "application/vnd.google-earth.kml+xml";
        public static readonly string ApplicationVndGoogleEarthKmz = "application/vnd.google-earth.kmz";
        public static readonly string ApplicationVndGrafeq = "application/vnd.grafeq";
        public static readonly string ApplicationVndGridmp = "application/vnd.gridmp";
        public static readonly string ApplicationVndGrooveAccount = "application/vnd.groove-account";
        public static readonly string ApplicationVndGrooveHelp = "application/vnd.groove-help";
        public static readonly string ApplicationVndGrooveIdentityMessage = "application/vnd.groove-identity-message";
        public static readonly string ApplicationVndGrooveInjector = "application/vnd.groove-injector";
        public static readonly string ApplicationVndGrooveToolMessage = "application/vnd.groove-tool-message";
        public static readonly string ApplicationVndGrooveToolTemplate = "application/vnd.groove-tool-template";
        public static readonly string ApplicationVndGrooveVcard = "application/vnd.groove-vcard";
        public static readonly string ApplicationVndHandHeldEntertainmentXml = "application/vnd.HandHeld-Entertainment+xml";
        public static readonly string ApplicationVndHbci = "application/vnd.hbci";
        public static readonly string ApplicationVndHclBireports = "application/vnd.hcl-bireports";
        public static readonly string ApplicationVndHheLessonPlayer = "application/vnd.hhe.lesson-player";
        public static readonly string ApplicationVndHpHPGL = "application/vnd.hp-HPGL";
        public static readonly string ApplicationVndHpHpid = "application/vnd.hp-hpid";
        public static readonly string ApplicationVndHpHps = "application/vnd.hp-hps";
        public static readonly string ApplicationVndHpJlyt = "application/vnd.hp-jlyt";
        public static readonly string ApplicationVndHpPCL = "application/vnd.hp-PCL";
        public static readonly string ApplicationVndHpPCLXL = "application/vnd.hp-PCLXL";
        public static readonly string ApplicationVndHttphone = "application/vnd.httphone";
        public static readonly string ApplicationVndHzn3dCrossword = "application/vnd.hzn-3d-crossword";
        public static readonly string ApplicationVndIbmAfplinedata = "application/vnd.ibm.afplinedata";
        public static readonly string ApplicationVndIbmElectronicMedia = "application/vnd.ibm.electronic-media";
        public static readonly string ApplicationVndIbmMiniPay = "application/vnd.ibm.MiniPay";
        public static readonly string ApplicationVndIbmModcap = "application/vnd.ibm.modcap";
        public static readonly string ApplicationVndIbmRightsManagement = "application/vnd.ibm.rights-management";
        public static readonly string ApplicationVndIbmSecureContainer = "application/vnd.ibm.secure-container";
        public static readonly string ApplicationVndIgloader = "application/vnd.igloader";
        public static readonly string ApplicationVndImmervisionIvp = "application/vnd.immervision-ivp";
        public static readonly string ApplicationVndImmervisionIvu = "application/vnd.immervision-ivu";
        public static readonly string ApplicationVndInformedcontrolRmsXml = "application/vnd.informedcontrol.rms+xml";
        public static readonly string ApplicationVndInformixVisionary = "application/vnd.informix-visionary";
        public static readonly string ApplicationVndInterconFormnet = "application/vnd.intercon.formnet";
        public static readonly string ApplicationVndIntertrustDigibox = "application/vnd.intertrust.digibox";
        public static readonly string ApplicationVndIntertrustNncp = "application/vnd.intertrust.nncp";
        public static readonly string ApplicationVndIntuQbo = "application/vnd.intu.qbo";
        public static readonly string ApplicationVndIntuQfx = "application/vnd.intu.qfx";
        public static readonly string ApplicationVndIpunpluggedRcprofile = "application/vnd.ipunplugged.rcprofile";
        public static readonly string ApplicationVndIrepositoryPackageXml = "application/vnd.irepository.package+xml";
        public static readonly string ApplicationVndIsXpr = "application/vnd.is-xpr";
        public static readonly string ApplicationVndJam = "application/vnd.jam";
        public static readonly string ApplicationVndJapannetDirectoryService = "application/vnd.japannet-directory-service";
        public static readonly string ApplicationVndJapannetJpnstoreWakeup = "application/vnd.japannet-jpnstore-wakeup";
        public static readonly string ApplicationVndJapannetPaymentWakeup = "application/vnd.japannet-payment-wakeup";
        public static readonly string ApplicationVndJapannetRegistration = "application/vnd.japannet-registration";
        public static readonly string ApplicationVndJapannetRegistrationWakeup = "application/vnd.japannet-registration-wakeup";
        public static readonly string ApplicationVndJapannetSetstoreWakeup = "application/vnd.japannet-setstore-wakeup";
        public static readonly string ApplicationVndJapannetVerification = "application/vnd.japannet-verification";
        public static readonly string ApplicationVndJapannetVerificationWakeup = "application/vnd.japannet-verification-wakeup";
        public static readonly string ApplicationVndJcpJavameMidletRms = "application/vnd.jcp.javame.midlet-rms";
        public static readonly string ApplicationVndJisp = "application/vnd.jisp";
        public static readonly string ApplicationVndKahootz = "application/vnd.kahootz";
        public static readonly string ApplicationVndKdeKarbon = "application/vnd.kde.karbon";
        public static readonly string ApplicationVndKdeKchart = "application/vnd.kde.kchart";
        public static readonly string ApplicationVndKdeKformula = "application/vnd.kde.kformula";
        public static readonly string ApplicationVndKdeKivio = "application/vnd.kde.kivio";
        public static readonly string ApplicationVndKdeKontour = "application/vnd.kde.kontour";
        public static readonly string ApplicationVndKdeKpresenter = "application/vnd.kde.kpresenter";
        public static readonly string ApplicationVndKdeKspread = "application/vnd.kde.kspread";
        public static readonly string ApplicationVndKdeKword = "application/vnd.kde.kword";
        public static readonly string ApplicationVndKenameaapp = "application/vnd.kenameaapp";
        public static readonly string ApplicationVndKidspiration = "application/vnd.kidspiration";
        public static readonly string ApplicationVndKinar = "application/vnd.Kinar";
        public static readonly string ApplicationVndKoan = "application/vnd.koan";
        public static readonly string ApplicationVndLibertyRequestXml = "application/vnd.liberty-request+xml";
        public static readonly string ApplicationVndLlamagraphicsLifeBalanceDesktop = "application/vnd.llamagraphics.life-balance.desktop";
        public static readonly string ApplicationVndLlamagraphicsLifeBalanceExchangeXml = "application/vnd.llamagraphics.life-balance.exchange+xml";
        public static readonly string ApplicationVndLotus123 = "application/vnd.lotus-1-2-3";
        public static readonly string ApplicationVndLotusApproach = "application/vnd.lotus-approach";
        public static readonly string ApplicationVndLotusFreelance = "application/vnd.lotus-freelance";
        public static readonly string ApplicationVndLotusNotes = "application/vnd.lotus-notes";
        public static readonly string ApplicationVndLotusOrganizer = "application/vnd.lotus-organizer";
        public static readonly string ApplicationVndLotusScreencam = "application/vnd.lotus-screencam";
        public static readonly string ApplicationVndLotusWordpro = "application/vnd.lotus-wordpro";
        public static readonly string ApplicationVndMacportsPortpkg = "application/vnd.macports.portpkg";
        public static readonly string ApplicationVndMarlinDrmActiontokenXml = "application/vnd.marlin.drm.actiontoken+xml";
        public static readonly string ApplicationVndMarlinDrmConftokenXml = "application/vnd.marlin.drm.conftoken+xml";
        public static readonly string ApplicationVndMarlinDrmMdcf = "application/vnd.marlin.drm.mdcf";
        public static readonly string ApplicationVndMcd = "application/vnd.mcd";
        public static readonly string ApplicationVndMedcalcdata = "application/vnd.medcalcdata";
        public static readonly string ApplicationVndMediastationCdkey = "application/vnd.mediastation.cdkey";
        public static readonly string ApplicationVndMeridianSlingshot = "application/vnd.meridian-slingshot";
        public static readonly string ApplicationVndMFER = "application/vnd.MFER";
        public static readonly string ApplicationVndMfmp = "application/vnd.mfmp";
        public static readonly string ApplicationVndMicrografxFlo = "application/vnd.micrografx.flo";
        public static readonly string ApplicationVndMicrografxIgx = "application/vnd.micrografx.igx";
        public static readonly string ApplicationVndMif = "application/vnd.mif";
        public static readonly string ApplicationVndMinisoftHp3000Save = "application/vnd.minisoft-hp3000-save";
        public static readonly string ApplicationVndMitsubishiMistyGuardTrustweb = "application/vnd.mitsubishi.misty-guard.trustweb";
        public static readonly string ApplicationVndMobiusDAF = "application/vnd.Mobius.DAF";
        public static readonly string ApplicationVndMobiusDIS = "application/vnd.Mobius.DIS";
        public static readonly string ApplicationVndMobiusMBK = "application/vnd.Mobius.MBK";
        public static readonly string ApplicationVndMobiusMQY = "application/vnd.Mobius.MQY";
        public static readonly string ApplicationVndMobiusMSL = "application/vnd.Mobius.MSL";
        public static readonly string ApplicationVndMobiusPLC = "application/vnd.Mobius.PLC";
        public static readonly string ApplicationVndMobiusTXF = "application/vnd.Mobius.TXF";
        public static readonly string ApplicationVndMophunApplication = "application/vnd.mophun.application";
        public static readonly string ApplicationVndMophunCertificate = "application/vnd.mophun.certificate";
        public static readonly string ApplicationVndMotorolaFlexsuite = "application/vnd.motorola.flexsuite";
        public static readonly string ApplicationVndMotorolaFlexsuiteAdsi = "application/vnd.motorola.flexsuite.adsi";
        public static readonly string ApplicationVndMotorolaFlexsuiteFis = "application/vnd.motorola.flexsuite.fis";
        public static readonly string ApplicationVndMotorolaFlexsuiteGotap = "application/vnd.motorola.flexsuite.gotap";
        public static readonly string ApplicationVndMotorolaFlexsuiteKmr = "application/vnd.motorola.flexsuite.kmr";
        public static readonly string ApplicationVndMotorolaFlexsuiteTtc = "application/vnd.motorola.flexsuite.ttc";
        public static readonly string ApplicationVndMotorolaFlexsuiteWem = "application/vnd.motorola.flexsuite.wem";
        public static readonly string ApplicationVndMozillaXulXml = "application/vnd.mozilla.xul+xml";
        public static readonly string ApplicationVndMsArtgalry = "application/vnd.ms-artgalry";
        public static readonly string ApplicationVndMsAsf = "application/vnd.ms-asf";
        public static readonly string ApplicationVndMsCabCompressed = "application/vnd.ms-cab-compressed";
        public static readonly string ApplicationVndMseq = "application/vnd.mseq";
        public static readonly string ApplicationVndMsExcel = "application/vnd.ms-excel";
        public static readonly string ApplicationVndMsFontobject = "application/vnd.ms-fontobject";
        public static readonly string ApplicationVndMsHtmlhelp = "application/vnd.ms-htmlhelp";
        public static readonly string ApplicationVndMsign = "application/vnd.msign";
        public static readonly string ApplicationVndMsIms = "application/vnd.ms-ims";
        public static readonly string ApplicationVndMsLrm = "application/vnd.ms-lrm";
        public static readonly string ApplicationVndMsPlayreadyInitiatorXml = "application/vnd.ms-playready.initiator+xml";
        public static readonly string ApplicationVndMsPowerpoint = "application/vnd.ms-powerpoint";
        public static readonly string ApplicationVndMsProject = "application/vnd.ms-project";
        public static readonly string ApplicationVndMsTnef = "application/vnd.ms-tnef";
        public static readonly string ApplicationVndMsWmdrmLicChlgReq = "application/vnd.ms-wmdrm.lic-chlg-req";
        public static readonly string ApplicationVndMsWmdrmLicResp = "application/vnd.ms-wmdrm.lic-resp";
        public static readonly string ApplicationVndMsWmdrmMeterChlgReq = "application/vnd.ms-wmdrm.meter-chlg-req";
        public static readonly string ApplicationVndMsWmdrmMeterResp = "application/vnd.ms-wmdrm.meter-resp";
        public static readonly string ApplicationVndMsWorks = "application/vnd.ms-works";
        public static readonly string ApplicationVndMsWpl = "application/vnd.ms-wpl";
        public static readonly string ApplicationVndMsXpsdocument = "application/vnd.ms-xpsdocument";
        public static readonly string ApplicationVndMusician = "application/vnd.musician";
        public static readonly string ApplicationVndMusicNiff = "application/vnd.music-niff";
        public static readonly string ApplicationVndNcdControl = "application/vnd.ncd.control";
        public static readonly string ApplicationVndNervana = "application/vnd.nervana";
        public static readonly string ApplicationVndNetfpx = "application/vnd.netfpx";
        public static readonly string ApplicationVndNeurolanguageNlu = "application/vnd.neurolanguage.nlu";
        public static readonly string ApplicationVndNoblenetDirectory = "application/vnd.noblenet-directory";
        public static readonly string ApplicationVndNoblenetSealer = "application/vnd.noblenet-sealer";
        public static readonly string ApplicationVndNoblenetWeb = "application/vnd.noblenet-web";
        public static readonly string ApplicationVndNokiaCatalogs = "application/vnd.nokia.catalogs";
        public static readonly string ApplicationVndNokiaConmlWbxml = "application/vnd.nokia.conml+wbxml";
        public static readonly string ApplicationVndNokiaConmlXml = "application/vnd.nokia.conml+xml";
        public static readonly string ApplicationVndNokiaIptvConfigXml = "application/vnd.nokia.iptv.config+xml";
        public static readonly string ApplicationVndNokiaISDSRadioPresets = "application/vnd.nokia.iSDS-radio-presets";
        public static readonly string ApplicationVndNokiaLandmarkWbxml = "application/vnd.nokia.landmark+wbxml";
        public static readonly string ApplicationVndNokiaLandmarkXml = "application/vnd.nokia.landmark+xml";
        public static readonly string ApplicationVndNokiaLandmarkcollectionXml = "application/vnd.nokia.landmarkcollection+xml";
        public static readonly string ApplicationVndNokiaNcd = "application/vnd.nokia.ncd";
        public static readonly string ApplicationVndNokiaNGageAcXml = "application/vnd.nokia.n-gage.ac+xml";
        public static readonly string ApplicationVndNokiaNGageData = "application/vnd.nokia.n-gage.data";
        public static readonly string ApplicationVndNokiaNGageSymbianInstall = "application/vnd.nokia.n-gage.symbian.install";
        public static readonly string ApplicationVndNokiaPcdWbxml = "application/vnd.nokia.pcd+wbxml";
        public static readonly string ApplicationVndNokiaPcdXml = "application/vnd.nokia.pcd+xml";
        public static readonly string ApplicationVndNokiaRadioPreset = "application/vnd.nokia.radio-preset";
        public static readonly string ApplicationVndNokiaRadioPresets = "application/vnd.nokia.radio-presets";
        public static readonly string ApplicationVndNovadigmEDM = "application/vnd.novadigm.EDM";
        public static readonly string ApplicationVndNovadigmEDX = "application/vnd.novadigm.EDX";
        public static readonly string ApplicationVndNovadigmEXT = "application/vnd.novadigm.EXT";
        public static readonly string ApplicationVndOasisOpendocumentChart = "application/vnd.oasis.opendocument.chart";
        public static readonly string ApplicationVndOasisOpendocumentChartTemplate = "application/vnd.oasis.opendocument.chart-template";
        public static readonly string ApplicationVndOasisOpendocumentFormula = "application/vnd.oasis.opendocument.formula";
        public static readonly string ApplicationVndOasisOpendocumentFormulaTemplate = "application/vnd.oasis.opendocument.formula-template";
        public static readonly string ApplicationVndOasisOpendocumentGraphics = "application/vnd.oasis.opendocument.graphics";
        public static readonly string ApplicationVndOasisOpendocumentGraphicsTemplate = "application/vnd.oasis.opendocument.graphics-template";
        public static readonly string ApplicationVndOasisOpendocumentImage = "application/vnd.oasis.opendocument.image";
        public static readonly string ApplicationVndOasisOpendocumentImageTemplate = "application/vnd.oasis.opendocument.image-template";
        public static readonly string ApplicationVndOasisOpendocumentPresentation = "application/vnd.oasis.opendocument.presentation";
        public static readonly string ApplicationVndOasisOpendocumentPresentationTemplate = "application/vnd.oasis.opendocument.presentation-template";
        public static readonly string ApplicationVndOasisOpendocumentSpreadsheet = "application/vnd.oasis.opendocument.spreadsheet";
        public static readonly string ApplicationVndOasisOpendocumentSpreadsheetTemplate = "application/vnd.oasis.opendocument.spreadsheet-template";
        public static readonly string ApplicationVndOasisOpendocumentText = "application/vnd.oasis.opendocument.text";
        public static readonly string ApplicationVndOasisOpendocumentTextMaster = "application/vnd.oasis.opendocument.text-master";
        public static readonly string ApplicationVndOasisOpendocumentTextTemplate = "application/vnd.oasis.opendocument.text-template";
        public static readonly string ApplicationVndOasisOpendocumentTextWeb = "application/vnd.oasis.opendocument.text-web";
        public static readonly string ApplicationVndObn = "application/vnd.obn";
        public static readonly string ApplicationVndOlpcSugar = "application/vnd.olpc-sugar";
        public static readonly string ApplicationVndOmaBcastAssociatedProcedureParameterXml = "application/vnd.oma.bcast.associated-procedure-parameter+xml";
        public static readonly string ApplicationVndOmaBcastDrmTriggerXml = "application/vnd.oma.bcast.drm-trigger+xml";
        public static readonly string ApplicationVndOmaBcastImdXml = "application/vnd.oma.bcast.imd+xml";
        public static readonly string ApplicationVndOmaBcastNotificationXml = "application/vnd.oma.bcast.notification+xml";
        public static readonly string ApplicationVndOmaBcastSgboot = "application/vnd.oma.bcast.sgboot";
        public static readonly string ApplicationVndOmaBcastSgddXml = "application/vnd.oma.bcast.sgdd+xml";
        public static readonly string ApplicationVndOmaBcastSgdu = "application/vnd.oma.bcast.sgdu";
        public static readonly string ApplicationVndOmaBcastSimpleSymbolContainer = "application/vnd.oma.bcast.simple-symbol-container";
        public static readonly string ApplicationVndOmaBcastSmartcardTriggerXml = "application/vnd.oma.bcast.smartcard-trigger+xml";
        public static readonly string ApplicationVndOmaBcastSprovXml = "application/vnd.oma.bcast.sprov+xml";
        public static readonly string ApplicationVndOmaDd2Xml = "application/vnd.oma.dd2+xml";
        public static readonly string ApplicationVndOmaDrmRisdXml = "application/vnd.oma.drm.risd+xml";
        public static readonly string ApplicationVndOmaGroupUsageListXml = "application/vnd.oma.group-usage-list+xml";
        public static readonly string ApplicationVndOmaPocGroupsXml = "application/vnd.oma.poc.groups+xml";
        public static readonly string ApplicationVndOmaXcapDirectoryXml = "application/vnd.oma.xcap-directory+xml";
        public static readonly string ApplicationVndOmadsEmailXml = "application/vnd.omads-email+xml";
        public static readonly string ApplicationVndOmadsFileXml = "application/vnd.omads-file+xml";
        public static readonly string ApplicationVndOmadsFolderXml = "application/vnd.omads-folder+xml";
        public static readonly string ApplicationVndOmalocSuplInit = "application/vnd.omaloc-supl-init";
        public static readonly string ApplicationVndOmaScwsConfig = "application/vnd.oma-scws-config";
        public static readonly string ApplicationVndOmaScwsHttpRequest = "application/vnd.oma-scws-http-request";
        public static readonly string ApplicationVndOmaScwsHttpResponse = "application/vnd.oma-scws-http-response";
        public static readonly string ApplicationVndOpenofficeorgExtension = "application/vnd.openofficeorg.extension";
        public static readonly string ApplicationVndOsaNetdeploy = "application/vnd.osa.netdeploy";
        public static readonly string ApplicationVndOsgiDp = "application/vnd.osgi.dp";
        public static readonly string ApplicationVndOtpsCtKipXml = "application/vnd.otps.ct-kip+xml";
        public static readonly string ApplicationVndPalm = "application/vnd.palm";
        public static readonly string ApplicationVndPaosXml = "application/vnd.paos.xml";
        public static readonly string ApplicationVndPgFormat = "application/vnd.pg.format";
        public static readonly string ApplicationVndPgOsasli = "application/vnd.pg.osasli";
        public static readonly string ApplicationVndPiaccessApplicationLicence = "application/vnd.piaccess.application-licence";
        public static readonly string ApplicationVndPicsel = "application/vnd.picsel";
        public static readonly string ApplicationVndPocGroupAdvertisementXml = "application/vnd.poc.group-advertisement+xml";
        public static readonly string ApplicationVndPocketlearn = "application/vnd.pocketlearn";
        public static readonly string ApplicationVndPowerbuilder6 = "application/vnd.powerbuilder6";
        public static readonly string ApplicationVndPowerbuilder6S = "application/vnd.powerbuilder6-s";
        public static readonly string ApplicationVndPowerbuilder7 = "application/vnd.powerbuilder7";
        public static readonly string ApplicationVndPowerbuilder75 = "application/vnd.powerbuilder75";
        public static readonly string ApplicationVndPowerbuilder75S = "application/vnd.powerbuilder75-s";
        public static readonly string ApplicationVndPowerbuilder7S = "application/vnd.powerbuilder7-s";
        public static readonly string ApplicationVndPreminet = "application/vnd.preminet";
        public static readonly string ApplicationVndPreviewsystemsBox = "application/vnd.previewsystems.box";
        public static readonly string ApplicationVndProteusMagazine = "application/vnd.proteus.magazine";
        public static readonly string ApplicationVndPublishareDeltaTree = "application/vnd.publishare-delta-tree";
        public static readonly string ApplicationVndPviPtid1 = "application/vnd.pvi.ptid1";
        public static readonly string ApplicationVndPwgMultiplexed = "application/vnd.pwg-multiplexed";
        public static readonly string ApplicationVndPwgXhtmlPrintXml = "application/vnd.pwg-xhtml-print+xml";
        public static readonly string ApplicationVndQualcommBrewAppRes = "application/vnd.qualcomm.brew-app-res";
        public static readonly string ApplicationVndQuarkQuarkXPress = "application/vnd.Quark.QuarkXPress";
        public static readonly string ApplicationVndRapid = "application/vnd.rapid";
        public static readonly string ApplicationVndRenLearnRlprint = "application/vnd.RenLearn.rlprint";
        public static readonly string ApplicationVndRuckusDownload = "application/vnd.ruckus.download";
        public static readonly string ApplicationVndS3sms = "application/vnd.s3sms";
        public static readonly string ApplicationVndScribus = "application/vnd.scribus";
        public static readonly string ApplicationVndSealed3df = "application/vnd.sealed.3df";
        public static readonly string ApplicationVndSealedCsf = "application/vnd.sealed.csf";
        public static readonly string ApplicationVndSealedDoc = "application/vnd.sealed.doc";
        public static readonly string ApplicationVndSealedEml = "application/vnd.sealed.eml";
        public static readonly string ApplicationVndSealedMht = "application/vnd.sealed.mht";
        public static readonly string ApplicationVndSealedNet = "application/vnd.sealed.net";
        public static readonly string ApplicationVndSealedPpt = "application/vnd.sealed.ppt";
        public static readonly string ApplicationVndSealedTiff = "application/vnd.sealed.tiff";
        public static readonly string ApplicationVndSealedXls = "application/vnd.sealed.xls";
        public static readonly string ApplicationVndSealedmediaSoftsealHtml = "application/vnd.sealedmedia.softseal.html";
        public static readonly string ApplicationVndSealedmediaSoftsealPdf = "application/vnd.sealedmedia.softseal.pdf";
        public static readonly string ApplicationVndSeemail = "application/vnd.seemail";
        public static readonly string ApplicationVndSema = "application/vnd.sema";
        public static readonly string ApplicationVndSemd = "application/vnd.semd";
        public static readonly string ApplicationVndSemf = "application/vnd.semf";
        public static readonly string ApplicationVndShanaInformedFormdata = "application/vnd.shana.informed.formdata";
        public static readonly string ApplicationVndShanaInformedFormtemplate = "application/vnd.shana.informed.formtemplate";
        public static readonly string ApplicationVndShanaInformedInterchange = "application/vnd.shana.informed.interchange";
        public static readonly string ApplicationVndShanaInformedPackage = "application/vnd.shana.informed.package";
        public static readonly string ApplicationVndSimTechMindMapper = "application/vnd.SimTech-MindMapper";
        public static readonly string ApplicationVndSmaf = "application/vnd.smaf";
        public static readonly string ApplicationVndSolentSdkmXml = "application/vnd.solent.sdkm+xml";
        public static readonly string ApplicationVndSpotfireDxp = "application/vnd.spotfire.dxp";
        public static readonly string ApplicationVndSpotfireSfs = "application/vnd.spotfire.sfs";
        public static readonly string ApplicationVndSssCod = "application/vnd.sss-cod";
        public static readonly string ApplicationVndSssDtf = "application/vnd.sss-dtf";
        public static readonly string ApplicationVndSssNtf = "application/vnd.sss-ntf";
        public static readonly string ApplicationVndStreetStream = "application/vnd.street-stream";
        public static readonly string ApplicationVndSunWadlXml = "application/vnd.sun.wadl+xml";
        public static readonly string ApplicationVndSusCalendar = "application/vnd.sus-calendar";
        public static readonly string ApplicationVndSvd = "application/vnd.svd";
        public static readonly string ApplicationVndSwiftviewIcs = "application/vnd.swiftview-ics";
        public static readonly string ApplicationVndSyncmlDmWbxml = "application/vnd.syncml.dm+wbxml";
        public static readonly string ApplicationVndSyncmlDmXml = "application/vnd.syncml.dm+xml";
        public static readonly string ApplicationVndSyncmlDsNotification = "application/vnd.syncml.ds.notification";
        public static readonly string ApplicationVndSyncmlXml = "application/vnd.syncml+xml";
        public static readonly string ApplicationVndTaoIntentModuleArchive = "application/vnd.tao.intent-module-archive";
        public static readonly string ApplicationVndTmobileLivetv = "application/vnd.tmobile-livetv";
        public static readonly string ApplicationVndTridTpt = "application/vnd.trid.tpt";
        public static readonly string ApplicationVndTriscapeMxs = "application/vnd.triscape.mxs";
        public static readonly string ApplicationVndTrueapp = "application/vnd.trueapp";
        public static readonly string ApplicationVndTruedoc = "application/vnd.truedoc";
        public static readonly string ApplicationVndUfdl = "application/vnd.ufdl";
        public static readonly string ApplicationVndUiqTheme = "application/vnd.uiq.theme";
        public static readonly string ApplicationVndUmajin = "application/vnd.umajin";
        public static readonly string ApplicationVndUnity = "application/vnd.unity";
        public static readonly string ApplicationVndUomlXml = "application/vnd.uoml+xml";
        public static readonly string ApplicationVndUplanetAlert = "application/vnd.uplanet.alert";
        public static readonly string ApplicationVndUplanetAlertWbxml = "application/vnd.uplanet.alert-wbxml";
        public static readonly string ApplicationVndUplanetBearerChoice = "application/vnd.uplanet.bearer-choice";
        public static readonly string ApplicationVndUplanetBearerChoiceWbxml = "application/vnd.uplanet.bearer-choice-wbxml";
        public static readonly string ApplicationVndUplanetCacheop = "application/vnd.uplanet.cacheop";
        public static readonly string ApplicationVndUplanetCacheopWbxml = "application/vnd.uplanet.cacheop-wbxml";
        public static readonly string ApplicationVndUplanetChannel = "application/vnd.uplanet.channel";
        public static readonly string ApplicationVndUplanetChannelWbxml = "application/vnd.uplanet.channel-wbxml";
        public static readonly string ApplicationVndUplanetList = "application/vnd.uplanet.list";
        public static readonly string ApplicationVndUplanetListcmd = "application/vnd.uplanet.listcmd";
        public static readonly string ApplicationVndUplanetListcmdWbxml = "application/vnd.uplanet.listcmd-wbxml";
        public static readonly string ApplicationVndUplanetListWbxml = "application/vnd.uplanet.list-wbxml";
        public static readonly string ApplicationVndUplanetSignal = "application/vnd.uplanet.signal";
        public static readonly string ApplicationVndVcx = "application/vnd.vcx";
        public static readonly string ApplicationVndVectorworks = "application/vnd.vectorworks";
        public static readonly string ApplicationVndVdStudy = "application/vnd.vd-study";
        public static readonly string ApplicationVndVidsoftVidconference = "application/vnd.vidsoft.vidconference";
        public static readonly string ApplicationVndVisio = "application/vnd.visio";
        public static readonly string ApplicationVndVisionary = "application/vnd.visionary";
        public static readonly string ApplicationVndVividenceScriptfile = "application/vnd.vividence.scriptfile";
        public static readonly string ApplicationVndVsf = "application/vnd.vsf";
        public static readonly string ApplicationVndWapSic = "application/vnd.wap.sic";
        public static readonly string ApplicationVndWapSlc = "application/vnd.wap.slc";
        public static readonly string ApplicationVndWapWbxml = "application/vnd.wap.wbxml";
        public static readonly string ApplicationVndWapWmlc = "application/vnd.wap.wmlc";
        public static readonly string ApplicationVndWapWmlscriptc = "application/vnd.wap.wmlscriptc";
        public static readonly string ApplicationVndWebturbo = "application/vnd.webturbo";
        public static readonly string ApplicationVndWfaWsc = "application/vnd.wfa.wsc";
        public static readonly string ApplicationVndWordperfect = "application/vnd.wordperfect";
        public static readonly string ApplicationVndWqd = "application/vnd.wqd";
        public static readonly string ApplicationVndWrqHp3000Labelled = "application/vnd.wrq-hp3000-labelled";
        public static readonly string ApplicationVndWtStf = "application/vnd.wt.stf";
        public static readonly string ApplicationVndWvCspXml = "application/vnd.wv.csp+xml";
        public static readonly string ApplicationVndWvCspWbxml = "application/vnd.wv.csp+wbxml";
        public static readonly string ApplicationVndWvSspXml = "application/vnd.wv.ssp+xml";
        public static readonly string ApplicationVndXara = "application/vnd.xara";
        public static readonly string ApplicationVndXfdl = "application/vnd.xfdl";
        public static readonly string ApplicationVndXmpieCpkg = "application/vnd.xmpie.cpkg";
        public static readonly string ApplicationVndXmpieDpkg = "application/vnd.xmpie.dpkg";
        public static readonly string ApplicationVndXmpiePlan = "application/vnd.xmpie.plan";
        public static readonly string ApplicationVndXmpiePpkg = "application/vnd.xmpie.ppkg";
        public static readonly string ApplicationVndXmpieXlim = "application/vnd.xmpie.xlim";
        public static readonly string ApplicationVndYamahaHvDic = "application/vnd.yamaha.hv-dic";
        public static readonly string ApplicationVndYamahaHvScript = "application/vnd.yamaha.hv-script";
        public static readonly string ApplicationVndYamahaHvVoice = "application/vnd.yamaha.hv-voice";
        public static readonly string ApplicationVndYamahaSmafAudio = "application/vnd.yamaha.smaf-audio";
        public static readonly string ApplicationVndYamahaSmafPhrase = "application/vnd.yamaha.smaf-phrase";
        public static readonly string ApplicationVndYellowriverCustomMenu = "application/vnd.yellowriver-custom-menu";
        public static readonly string ApplicationVndZzazzDeckXml = "application/vnd.zzazz.deck+xml";
        public static readonly string ApplicationVoicexmlXml = "application/voicexml+xml";
        public static readonly string ApplicationWatcherinfoXml = "application/watcherinfo+xml";
        public static readonly string ApplicationWhoisppQuery = "application/whoispp-query";
        public static readonly string ApplicationWhoisppResponse = "application/whoispp-response";
        public static readonly string ApplicationWita = "application/wita";
        public static readonly string ApplicationWordperfect51 = "application/wordperfect5.1";
        public static readonly string ApplicationWsdlXml = "application/wsdl+xml";
        public static readonly string ApplicationWspolicyXml = "application/wspolicy+xml";
        public static readonly string ApplicationX400Bp = "application/x400-bp";
        public static readonly string ApplicationXcapAttXml = "application/xcap-att+xml";
        public static readonly string ApplicationXcapCapsXml = "application/xcap-caps+xml";
        public static readonly string ApplicationXcapElXml = "application/xcap-el+xml";
        public static readonly string ApplicationXcapErrorXml = "application/xcap-error+xml";
        public static readonly string ApplicationXcapNsXml = "application/xcap-ns+xml";
        public static readonly string ApplicationXencXml = "application/xenc+xml";
        public static readonly string ApplicationXhtmlVoiceXml = "application/xhtml-voice+xml"; // obsolete
        public static readonly string ApplicationXhtmlXml = "application/xhtml+xml";
        public static readonly string ApplicationXml = "application/xml";
        public static readonly string ApplicationXmlDtd = "application/xml-dtd";
        public static readonly string ApplicationXmlExternalParsedEntity = "application/xml-external-parsed-entity";
        public static readonly string ApplicationXmppXml = "application/xmpp+xml";
        public static readonly string ApplicationXopXml = "application/xop+xml";
        public static readonly string ApplicationXvXml = "application/xv+xml";
        public static readonly string ApplicationZip = "application/zip";




        // http://www.iana.org/assignments/media-types/audio/
        public static readonly string Audio32kadpcm = "audio/32kadpcm";
        public static readonly string Audio3gpp = "audio/3gpp";
        public static readonly string Audio3gpp2 = "audio/3gpp2";
        public static readonly string AudioAc3 = "audio/ac3";
        public static readonly string AudioAMR = "audio/AMR";
        public static readonly string AudioAMRWB = "audio/AMR-WB";
        public static readonly string AudioAmrWbPlus = "audio/amr-wb+";
        public static readonly string AudioAsc = "audio/asc";
        public static readonly string AudioBasic = "audio/basic";
        public static readonly string AudioBV16 = "audio/BV16";
        public static readonly string AudioBV32 = "audio/BV32";
        public static readonly string AudioClearmode = "audio/clearmode";
        public static readonly string AudioCN = "audio/CN";
        public static readonly string AudioDAT12 = "audio/DAT12";
        public static readonly string AudioDls = "audio/dls";
        public static readonly string AudioDsrEs201108 = "audio/dsr-es201108";
        public static readonly string AudioDsrEs202050 = "audio/dsr-es202050";
        public static readonly string AudioDsrEs202211 = "audio/dsr-es202211";
        public static readonly string AudioDsrEs202212 = "audio/dsr-es202212";
        public static readonly string AudioEac3 = "audio/eac3";
        public static readonly string AudioDVI4 = "audio/DVI4";
        public static readonly string AudioEVRC = "audio/EVRC";
        public static readonly string AudioEVRC0 = "audio/EVRC0";
        public static readonly string AudioEVRC1 = "audio/EVRC1";
        public static readonly string AudioEVRCB = "audio/EVRCB";
        public static readonly string AudioEVRCB0 = "audio/EVRCB0";
        public static readonly string AudioEVRCB1 = "audio/EVRCB1";
        public static readonly string AudioEVRCQCP = "audio/EVRC-QCP";
        public static readonly string AudioExample = "audio/example";
        public static readonly string AudioG722 = "audio/G722";
        public static readonly string AudioG7221 = "audio/G7221";
        public static readonly string AudioG723 = "audio/G723";
        public static readonly string AudioG72616 = "audio/G726-16";
        public static readonly string AudioG72624 = "audio/G726-24";
        public static readonly string AudioG72632 = "audio/G726-32";
        public static readonly string AudioG72640 = "audio/G726-40";
        public static readonly string AudioG728 = "audio/G728";
        public static readonly string AudioG729 = "audio/G729";
        public static readonly string AudioG7291 = "audio/G7291";
        public static readonly string AudioG729D = "audio/G729D";
        public static readonly string AudioG729E = "audio/G729E";
        public static readonly string AudioGSM = "audio/GSM";
        public static readonly string AudioGSMEFR = "audio/GSM-EFR";
        public static readonly string AudioILBC = "audio/iLBC";
        public static readonly string AudioL8 = "audio/L8";
        public static readonly string AudioL16 = "audio/L16";
        public static readonly string AudioL20 = "audio/L20";
        public static readonly string AudioL24 = "audio/L24";
        public static readonly string AudioLPC = "audio/LPC";
        public static readonly string AudioMobileXmf = "audio/mobile-xmf";
        public static readonly string AudioMPA = "audio/MPA";
        public static readonly string AudioMp4 = "audio/mp4";
        public static readonly string AudioMP4ALATM = "audio/MP4A-LATM";
        public static readonly string AudioMpaRobust = "audio/mpa-robust";
        public static readonly string AudioMpeg = "audio/mpeg";
        public static readonly string AudioMpeg4Generic = "audio/mpeg4-generic";
        public static readonly string AudioParityfec = "audio/parityfec";
        public static readonly string AudioPCMA = "audio/PCMA";
        public static readonly string AudioPCMU = "audio/PCMU";
        public static readonly string AudioPrsSid = "audio/prs.sid";
        public static readonly string AudioQCELP = "audio/QCELP";
        public static readonly string AudioRED = "audio/RED";
        public static readonly string AudioRtpEncAescm128 = "audio/rtp-enc-aescm128";
        public static readonly string AudioRtpMidi = "audio/rtp-midi";
        public static readonly string AudioRtx = "audio/rtx";
        public static readonly string AudioSMV = "audio/SMV";
        public static readonly string AudioSMV0 = "audio/SMV0";
        public static readonly string AudioSMVQCP = "audio/SMV-QCP";
        public static readonly string AudioSpMidi = "audio/sp-midi";
        public static readonly string AudioT140c = "audio/t140c";
        public static readonly string AudioT38 = "audio/t38";
        public static readonly string AudioTelephoneEvent = "audio/telephone-event";
        public static readonly string AudioTone = "audio/tone";
        public static readonly string AudioVDVI = "audio/VDVI";
        public static readonly string AudioVMRWB = "audio/VMR-WB";
        public static readonly string AudioVnd3gppIufp = "audio/vnd.3gpp.iufp";
        public static readonly string AudioVnd4SB = "audio/vnd.4SB";
        public static readonly string AudioVndAudiokoz = "audio/vnd.audiokoz";
        public static readonly string AudioVndCELP = "audio/vnd.CELP";
        public static readonly string AudioVndCiscoNse = "audio/vnd.cisco.nse";
        public static readonly string AudioVndCmlesRadioEvents = "audio/vnd.cmles.radio-events";
        public static readonly string AudioVndCnsAnp1 = "audio/vnd.cns.anp1";
        public static readonly string AudioVndCnsInf1 = "audio/vnd.cns.inf1";
        public static readonly string AudioVndDigitalWinds = "audio/vnd.digital-winds";
        public static readonly string AudioVndDlnaAdts = "audio/vnd.dlna.adts";
        public static readonly string AudioVndDolbyMlp = "audio/vnd.dolby.mlp";
        public static readonly string AudioVndEveradPlj = "audio/vnd.everad.plj";
        public static readonly string AudioVndHnsAudio = "audio/vnd.hns.audio";
        public static readonly string AudioVndLucentVoice = "audio/vnd.lucent.voice";
        public static readonly string AudioVndNokiaMobileXmf = "audio/vnd.nokia.mobile-xmf";
        public static readonly string AudioVndNortelVbk = "audio/vnd.nortel.vbk";
        public static readonly string AudioVndNueraEcelp4800 = "audio/vnd.nuera.ecelp4800";
        public static readonly string AudioVndNueraEcelp7470 = "audio/vnd.nuera.ecelp7470";
        public static readonly string AudioVndNueraEcelp9600 = "audio/vnd.nuera.ecelp9600";
        public static readonly string AudioVndOctelSbc = "audio/vnd.octel.sbc";
        public static readonly string AudioVndQcelp = "audio/vnd.qcelp";        // DEPRECATED - Please use audio/qcelp  	
        public static readonly string AudioVndRhetorex32kadpcm = "audio/vnd.rhetorex.32kadpcm";
        public static readonly string AudioVndSealedmediaSoftsealMpeg = "audio/vnd.sealedmedia.softseal.mpeg";
        public static readonly string AudioVndVmxCvsd = "audio/vnd.vmx.cvsd";







        // http://www.iana.org/assignments/media-types/image/
        public static readonly string ImageCgm = "image/cgm";
        public static readonly string ImageExample = "image/example";
        public static readonly string ImageFits = "image/fits";
        public static readonly string ImageG3fax = "image/g3fax";
        public static readonly string ImageGif = "image/gif";
        public static readonly string ImageIef = "image/ief";
        public static readonly string ImageJp2 = "image/jp2";
        public static readonly string ImageJpeg = "image/jpeg";
        public static readonly string ImageJpm = "image/jpm";
        public static readonly string ImageJpx = "image/jpx";
        public static readonly string ImageNaplps = "image/naplps";
        public static readonly string ImagePng = "image/png";
        public static readonly string ImagePrsBtif = "image/prs.btif";
        public static readonly string ImagePrsPti = "image/prs.pti";
        public static readonly string ImageT38 = "image/t38";
        public static readonly string ImageTiff = "image/tiff";
        public static readonly string ImageTiffFx = "image/tiff-fx";
        public static readonly string ImageVndAdobePhotoshop = "image/vnd.adobe.photoshop";
        public static readonly string ImageVndCnsInf2 = "image/vnd.cns.inf2";
        public static readonly string ImageVndDjvu = "image/vnd.djvu";
        public static readonly string ImageVndDwg = "image/vnd.dwg";
        public static readonly string ImageVndDxf = "image/vnd.dxf";
        public static readonly string ImageVndFastbidsheet = "image/vnd.fastbidsheet";
        public static readonly string ImageVndFpx = "image/vnd.fpx";
        public static readonly string ImageVndFst = "image/vnd.fst";
        public static readonly string ImageVndFujixeroxEdmicsMmr = "image/vnd.fujixerox.edmics-mmr";
        public static readonly string ImageVndFujixeroxEdmicsRlc = "image/vnd.fujixerox.edmics-rlc";
        public static readonly string ImageVndGlobalgraphicsPgb = "image/vnd.globalgraphics.pgb";
        public static readonly string ImageVndMicrosoftIcon = "image/vnd.microsoft.icon";
        public static readonly string ImageVndMix = "image/vnd.mix";
        public static readonly string ImageVndMsModi = "image/vnd.ms-modi";
        public static readonly string ImageVndNetFpx = "image/vnd.net-fpx";
        public static readonly string ImageVndSealedPng = "image/vnd.sealed.png";
        public static readonly string ImageVndSealedmediaSoftsealGif = "image/vnd.sealedmedia.softseal.gif";
        public static readonly string ImageVndSealedmediaSoftsealJpg = "image/vnd.sealedmedia.softseal.jpg";
        public static readonly string ImageVndSvf = "image/vnd.svf";
        public static readonly string ImageVndWapWbmp = "image/vnd.wap.wbmp";
        public static readonly string ImageVndXiff = "image/vnd.xiff";







        // http://www.iana.org/assignments/media-types/message/
        public static readonly string MessageCPIM = "message/CPIM";
        public static readonly string MessageDeliveryStatus = "message/delivery-status";
        public static readonly string MessageDispositionNotification = "message/disposition-notification";
        public static readonly string MessageExample = "message/example";
        public static readonly string MessageExternalBody = "message/external-body";
        public static readonly string MessageHttp = "message/http";
        public static readonly string MessageNews = "message/news";
        public static readonly string MessagePartial = "message/partial";
        public static readonly string MessageRfc822 = "message/rfc822";
        public static readonly string MessageSHttp = "message/s-http";
        public static readonly string MessageSip = "message/sip";
        public static readonly string MessageSipfrag = "message/sipfrag";
        public static readonly string MessageTrackingStatus = "message/tracking-status";



        // http://www.iana.org/assignments/media-types/model/
        public static readonly string ModelExample = "model/example";
        public static readonly string ModelIges = "model/iges";
        public static readonly string ModelMesh = "model/mesh";
        public static readonly string ModelVndDwf = "model/vnd.dwf";
        public static readonly string ModelVndFlatland3dml = "model/vnd.flatland.3dml";
        public static readonly string ModelVndGdl = "model/vnd.gdl";
        public static readonly string ModelVndGsGdl = "model/vnd.gs-gdl";
        public static readonly string ModelVndGtw = "model/vnd.gtw";
        public static readonly string ModelVndMomlXml = "model/vnd.moml+xml";
        public static readonly string ModelVndMts = "model/vnd.mts";
        public static readonly string ModelVndParasolidTransmitBinary = "model/vnd.parasolid.transmit.binary";
        public static readonly string ModelVndParasolidTransmitText = "model/vnd.parasolid.transmit.text";
        public static readonly string ModelVndVtu = "model/vnd.vtu";
        public static readonly string ModelVrml = "model/vrml";

        // http://www.iana.org/assignments/media-types/multipart/
        public static readonly string MultipartAlternative = "multipart/alternative";
        public static readonly string MultipartAppledouble = "multipart/appledouble";
        public static readonly string MultipartByteranges = "multipart/byteranges";
        public static readonly string MultipartDigest = "multipart/digest";
        public static readonly string MultipartEncrypted = "multipart/encrypted";
        public static readonly string MultipartExample = "multipart/example";
        public static readonly string MultipartFormData = "multipart/form-data";
        public static readonly string MultipartHeaderSet = "multipart/header-set";
        public static readonly string MultipartMixed = "multipart/mixed";
        public static readonly string MultipartParallel = "multipart/parallel";
        public static readonly string MultipartRelated = "multipart/related";
        public static readonly string MultipartReport = "multipart/report";
        public static readonly string MultipartSigned = "multipart/signed";
        public static readonly string MultipartVoiceMessage = "multipart/voice-message";



        // http://www.iana.org/assignments/media-types/text/
        public static readonly string TextCalendar = "text/calendar";
        public static readonly string TextCss = "text/css";
        public static readonly string TextCsv = "text/csv";
        public static readonly string TextDirectory = "text/directory";
        public static readonly string TextDns = "text/dns";
        public static readonly string TextEcmascript = "text/ecmascript";   // obsolete
        public static readonly string TextEnriched = "text/enriched";
        public static readonly string TextExample = "text/example";
        public static readonly string TextHtml = "text/html";
        public static readonly string TextJavascript = "text/javascript";   // obsolete
        public static readonly string TextParityfec = "text/parityfec";
        public static readonly string TextPlain = "text/plain";
        public static readonly string TextPrsFallensteinRst = "text/prs.fallenstein.rst";
        public static readonly string TextPrsLinesTag = "text/prs.lines.tag";
        public static readonly string TextRED = "text/RED";
        public static readonly string TextRfc822Headers = "text/rfc822-headers";
        public static readonly string TextRichtext = "text/richtext";
        public static readonly string TextRtf = "text/rtf";
        public static readonly string TextRtpEncAescm128 = "text/rtp-enc-aescm128";
        public static readonly string TextRtx = "text/rtx";
        public static readonly string TextSgml = "text/sgml";
        public static readonly string TextT140 = "text/t140";
        public static readonly string TextTabSeparatedValues = "text/tab-separated-values";
        public static readonly string TextTroff = "text/troff";
        public static readonly string TextUriList = "text/uri-list";
        public static readonly string TextVndAbc = "text/vnd.abc";
        public static readonly string TextVndCurl = "text/vnd.curl";
        public static readonly string TextVndDMClientScript = "text/vnd.DMClientScript";
        public static readonly string TextVndEsmertecThemeDescriptor = "text/vnd.esmertec.theme-descriptor";
        public static readonly string TextVndFly = "text/vnd.fly";
        public static readonly string TextVndFmiFlexstor = "text/vnd.fmi.flexstor";
        public static readonly string TextVndIn3d3dml = "text/vnd.in3d.3dml";
        public static readonly string TextVndIn3dSpot = "text/vnd.in3d.spot";
        public static readonly string TextVndIPTCNewsML = "text/vnd.IPTC.NewsML";
        public static readonly string TextVndIPTCNITF = "text/vnd.IPTC.NITF";
        public static readonly string TextVndLatexZ = "text/vnd.latex-z";
        public static readonly string TextVndMotorolaReflex = "text/vnd.motorola.reflex";
        public static readonly string TextVndMsMediapackage = "text/vnd.ms-mediapackage";
        public static readonly string TextVndNet2phoneCommcenterCommand = "text/vnd.net2phone.commcenter.command";
        public static readonly string TextVndSunJ2meAppDescriptor = "text/vnd.sun.j2me.app-descriptor";
        public static readonly string TextVndTrolltechLinguist = "text/vnd.trolltech.linguist";
        public static readonly string TextVndWapSi = "text/vnd.wap.si";
        public static readonly string TextVndWapSl = "text/vnd.wap.sl";
        public static readonly string TextVndWapWml = "text/vnd.wap.wml";
        public static readonly string TextVndWapWmlscript = "text/vnd.wap.wmlscript";
        public static readonly string TextXml = "text/xml";
        public static readonly string TextXmlExternalParsedEntity = "text/xml-external-parsed-entity";


        // http://www.iana.org/assignments/media-types/video/
        public static readonly string Video3gpp = "video/3gpp";
        public static readonly string Video3gpp2 = "video/3gpp2";
        public static readonly string Video3gppTt = "video/3gpp-tt";
        public static readonly string VideoBMPEG = "video/BMPEG";
        public static readonly string VideoBT656 = "video/BT656";
        public static readonly string VideoCelB = "video/CelB";
        public static readonly string VideoDV = "video/DV";
        public static readonly string VideoExample = "video/example";
        public static readonly string VideoH261 = "video/H261";
        public static readonly string VideoH263 = "video/H263";
        public static readonly string VideoH2631998 = "video/H263-1998";
        public static readonly string VideoH2632000 = "video/H263-2000";
        public static readonly string VideoH264 = "video/H264";
        public static readonly string VideoJPEG = "video/JPEG";
        public static readonly string VideoMJ2 = "video/MJ2";
        public static readonly string VideoMP1S = "video/MP1S";
        public static readonly string VideoMP2P = "video/MP2P";
        public static readonly string VideoMP2T = "video/MP2T";
        public static readonly string VideoMp4 = "video/mp4";
        public static readonly string VideoMP4VES = "video/MP4V-ES";
        public static readonly string VideoMPV = "video/MPV";
        public static readonly string VideoMpeg = "video/mpeg";
        public static readonly string VideoMpeg4Generic = "video/mpeg4-generic";
        public static readonly string VideoNv = "video/nv";
        public static readonly string VideoParityfec = "video/parityfec";
        public static readonly string VideoPointer = "video/pointer";
        public static readonly string VideoQuicktime = "video/quicktime";
        public static readonly string VideoRaw = "video/raw";
        public static readonly string VideoRtpEncAescm128 = "video/rtp-enc-aescm128";
        public static readonly string VideoRtx = "video/rtx";
        public static readonly string VideoSMPTE292M = "video/SMPTE292M";
        public static readonly string VideoVc1 = "video/vc1";
        public static readonly string VideoVndDlnaMpegTts = "video/vnd.dlna.mpeg-tts";
        public static readonly string VideoVndFvt = "video/vnd.fvt";
        public static readonly string VideoVndHnsVideo = "video/vnd.hns.video";
        public static readonly string VideoVndMotorolaVideo = "video/vnd.motorola.video";
        public static readonly string VideoVndMotorolaVideop = "video/vnd.motorola.videop";
        public static readonly string VideoVndMpegurl = "video/vnd.mpegurl";
        public static readonly string VideoVndNokiaInterleavedMultimedia = "video/vnd.nokia.interleaved-multimedia";
        public static readonly string VideoVndNokiaVideovoip = "video/vnd.nokia.videovoip";
        public static readonly string VideoVndObjectvideo = "video/vnd.objectvideo";
        public static readonly string VideoVndSealedMpeg1 = "video/vnd.sealed.mpeg1";
        public static readonly string VideoVndSealedMpeg4 = "video/vnd.sealed.mpeg4";
        public static readonly string VideoVndSealedSwf = "video/vnd.sealed.swf";
        public static readonly string VideoVndSealedmediaSoftsealMov = "video/vnd.sealedmedia.softseal.mov";
        public static readonly string VideoVndVivo = "video/vnd.vivo";











        // non-iana
        public static readonly string ApplicationExWwwFormUrlencoded = "application/x-www-form-urlencoded";
        public static readonly string TextH323 = "text/h323";
        public static readonly string VideoExMsAsf = "video/x-ms-asf";
        public static readonly string ApplicationInternetPropertyStream = "application/internet-property-stream";
        public static readonly string AudioExAiff = "audio/x-aiff";
        public static readonly string AudioAiff = "audio/aiff";
        public static readonly string ApplicationOlescript = "application/olescript";
        public static readonly string VideoExMsVideo = "video/x-msvideo";
        public static readonly string ApplicationExMsApplication = "application/x-ms-application";
        public static readonly string ApplicationExBcpio = "application/x-bcpio";
        public static readonly string ImageBmp = "image/bmp";
        public static readonly string ApplicationExCdf = "application/x-cdf";
        public static readonly string ApplicationVndmsPkiseccat = "application/vndms-pkiseccat";
        public static readonly string ApplicationExX509CaCert = "application/x-x509-ca-cert";
        public static readonly string ImageExCmx = "image/x-cmx";
        public static readonly string ApplicationExCsh = "application/x-csh";
        public static readonly string ImageCisCod = "image/cis-cod";
        public static readonly string ApplicationExCpio = "application/x-cpio";
        public static readonly string ApplicationExMsclip = "application/x-msclip";
        public static readonly string ApplicationExMscardfile = "application/x-mscardfile";
        public static readonly string ApplicationExMsdownload = "application/x-msdownload";
        public static readonly string ApplicationExDvi = "application/x-dvi";
        public static readonly string ApplicationExDirector = "application/x-director";
        public static readonly string TextExSetext = "text/x-setext";
        public static readonly string ApplicationEnvoy = "application/envoy";
        public static readonly string ExWorldExVrml = "x-world/x-vrml";
        public static readonly string ApplicationFractals = "application/fractals";
        public static readonly string ApplicationExGtar = "application/x-gtar";
        public static readonly string ApplicationExGzip = "application/x-gzip";
        public static readonly string ApplicationHta = "application/hta";
        public static readonly string TextExComponent = "text/x-component";
        public static readonly string TextWebviewhtml = "text/webviewhtml";
        public static readonly string ApplicationExHdf = "application/x-hdf";
        public static readonly string ApplicationWinhlp = "application/winhlp";
        public static readonly string ApplicationExInternetSignup = "application/x-internet-signup";
        public static readonly string ApplicationExIphone = "application/x-iphone";
        public static readonly string VideoExIvf = "video/x-ivf";
        public static readonly string ImageExIcon = "image/x-icon";
        public static readonly string ImagePjpeg = "image/pjpeg";
        public static readonly string ApplicationExJavascript = "application/x-javascript";
        public static readonly string VideoExLaAsf = "video/x-la-asf";
        public static readonly string ApplicationExLatex = "application/x-latex";
        public static readonly string ApplicationExMsManifest = "application/x-ms-manifest";
        public static readonly string ApplicationExMsmoney = "application/x-msmoney";
        public static readonly string AudioMid = "audio/mid";
        public static readonly string ApplicationExTroffMan = "application/x-troff-man";
        public static readonly string ApplicationExMsmediaview = "application/x-msmediaview";
        public static readonly string AudioExMpegurl = "audio/x-mpegurl";
        public static readonly string ApplicationExMsaccess = "application/x-msaccess";
        public static readonly string ApplicationExTroffMe = "application/x-troff-me";
        public static readonly string VideoExSgiMovie = "video/x-sgi-movie";
        public static readonly string ApplicationExTroffMs = "application/x-troff-ms";
        public static readonly string ApplicationExNetcdf = "application/x-netcdf";
        public static readonly string ApplicationOleobject = "application/oleobject";
        public static readonly string ApplicationExPerfmon = "application/x-perfmon";
        public static readonly string ApplicationExPkcs7Certreqresp = "application/x-pkcs7-certreqresp";
        public static readonly string ApplicationExPkcs7Certificates = "application/x-pkcs7-certificates";
        public static readonly string ImageExPortableBitmap = "image/x-portable-bitmap";
        public static readonly string ImageExPortablePixmap = "image/x-portable-pixmap";
        public static readonly string ApplicationExMspublisher = "application/x-mspublisher";
        public static readonly string ImageExPortableAnymap = "image/x-portable-anymap";
        public static readonly string ApplicationExPkcs12 = "application/x-pkcs12";
        public static readonly string ApplicationVndmsPkipko = "application/vndms-pkipko";
        public static readonly string ApplicationPicsRules = "application/pics-rules";
        public static readonly string ImageExPortableGraymap = "image/x-portable-graymap";
        public static readonly string AudioExPnRealaudio = "audio/x-pn-realaudio";
        public static readonly string ImageExRgb = "image/x-rgb";
        public static readonly string ImageExCmuRaster = "image/x-cmu-raster";
        public static readonly string ApplicationExTroff = "application/x-troff";
        public static readonly string ApplicationExSv4crc = "application/x-sv4crc";
        public static readonly string ApplicationVndmsPkistl = "application/vndms-pkistl";
        public static readonly string ApplicationExShar = "application/x-shar";
        public static readonly string ApplicationExSh = "application/x-sh";
        public static readonly string ApplicationExStuffit = "application/x-stuffit";
        public static readonly string ApplicationFuturesplash = "application/futuresplash";
        public static readonly string TextScriptlet = "text/scriptlet";
        public static readonly string ApplicationExMsschedule = "application/x-msschedule";
        public static readonly string ApplicationVndmsPkicertstore = "application/vndms-pkicertstore";
        public static readonly string ApplicationExWaisSource = "application/x-wais-source";
        public static readonly string ApplicationExSv4cpio = "application/x-sv4cpio";
        public static readonly string ApplicationExTex = "application/x-tex";
        public static readonly string ApplicationExCompressed = "application/x-compressed";
        public static readonly string ApplicationExTar = "application/x-tar";
        public static readonly string ApplicationExTexinfo = "application/x-texinfo";
        public static readonly string ApplicationExMsterminal = "application/x-msterminal";
        public static readonly string ApplicationExTcl = "application/x-tcl";
        public static readonly string ApplicationExUstar = "application/x-ustar";
        public static readonly string TextIuls = "text/iuls";
        public static readonly string TextExVcard = "text/x-vcard";
        public static readonly string AudioWav = "audio/wav";
        public static readonly string ApplicationExMswrite = "application/x-mswrite";
        public static readonly string ApplicationExMsmetafile = "application/x-msmetafile";
        public static readonly string ImageExXbitmap = "image/x-xbitmap";
        public static readonly string ImageExXpixmap = "image/x-xpixmap";
        public static readonly string ImageExXwindowdump = "image/x-xwindowdump";
        public static readonly string ApplicationExCompress = "application/x-compress";
        public static readonly string ApplicationExZipCompressed = "application/x-zip-compressed";
        public static readonly string ApplicationExSilverlightApp = "application/x-silverlight-app";
        public static readonly string ApplicationXamlXml = "application/xaml+xml";
        public static readonly string ApplicationExMsXbap = "application/x-ms-xbap";
       
        

    }

    public static class HttpMethod
    {
        public static readonly string Get = "GET";
        public static readonly string Head = "HEAD";

        public static readonly string Put = "PUT";
        public static readonly string Delete = "DELETE";

        public static readonly string Post = "POST";

        public static readonly string Trace = "TRACE";
        public static readonly string Options = "OPTIONS";

        public static void Validate(string input)
        {
            if (!Utils.In(input,
                HttpMethod.Get,
                HttpMethod.Post,
                HttpMethod.Put,
                HttpMethod.Head,
                HttpMethod.Delete))
            {
                throw CodePlexException.Format("Invalid method '{0}'", input);
            }
        }
    }


    public static class HttpHeader
    {

        // 46 standard headers
        public static readonly string Accept = "Accept";
        public static readonly string AcceptCharset = "Accept-Charset";
        public static readonly string AcceptEncoding = "Accept-Encoding";
        public static readonly string AcceptLanguage = "Accept-Language";
        public static readonly string AcceptRanges = "Accept-Ranges";
        public static readonly string Age = "Age";
        public static readonly string Allow = "Allow";
        public static readonly string Authorization = "Authorization";
        public static readonly string CacheControl = "Cache-Control";
        public static readonly string Connection = "Connection";
        public static readonly string ContentEncoding = "Content-Encoding";
        public static readonly string ContentLanguage = "Content-Language";
        public static readonly string ContentLength = "Content-Length";
        public static readonly string ContentLocation = "Content-Location";
        public static readonly string ContentMD5 = "Content-MD5";
        public static readonly string ContentRange = "Content-Range";
        public static readonly string ContentType = "Content-Type";
        public static readonly string Date = "Date";
        public static readonly string ETag = "ETag";
        public static readonly string Expect = "Expect";
        public static readonly string Expires = "Expires";
        public static readonly string From = "From";
        public static readonly string Host = "Host";
        public static readonly string IfMatch = "If-Match";
        public static readonly string IfModifiedSince = "If-Modified-Since";
        public static readonly string IfNoneMatch = "If-None-Match";
        public static readonly string IfRange = "If-Range";
        public static readonly string IfUnmodifiedSince = "If-Unmodified-Since";
        public static readonly string LastModified = "Last-Modified";
        public static readonly string Location = "Location";
        public static readonly string MaxForwards = "Max-Forwards";
        public static readonly string Pragma = "Pragma";
        public static readonly string ProxyAuthenticate = "Proxy-Authenticate";
        public static readonly string ProxyAuthorization = "Proxy-Authorization";
        public static readonly string Range = "Range";
        public static readonly string Referer = "Referer";
        public static readonly string RetryAfter = "Retry-After";
        public static readonly string TE = "TE";
        public static readonly string Trailer = "Trailer";
        public static readonly string TransferEncoding = "Transfer-Encoding";
        public static readonly string Upgrade = "Upgrade";
        public static readonly string UserAgent = "User-Agent";
        public static readonly string Vary = "Vary";
        public static readonly string Via = "Via";
        public static readonly string Warning = "Warning";
        public static readonly string WWWAuthenticate = "WWW-Authenticate";


        public static readonly string[] RequestHeaders = new string[] 
        {
            Accept,
            AcceptCharset,
            AcceptEncoding,
            AcceptLanguage,
            Authorization,
            CacheControl,
            Date,
            Expect,
            From,
            Host,
            IfMatch,
            IfModifiedSince,
            IfNoneMatch,
            IfRange,
            IfUnmodifiedSince,
            MaxForwards,
            Pragma,
            ProxyAuthorization,
            Range,
            Referer,
            TE,
            Upgrade,
            UserAgent,
            Via,



        };

        public static readonly string[] ResponseHeaders = new string[] 
        {
            AcceptRanges,
            Age,
            Allow,
            CacheControl,
            Connection,
            ContentEncoding,
            ContentLanguage,
            ContentLength,
            ContentLocation,
            ContentMD5,
            ContentRange,
            ContentType,
            Date,
            ETag,
            Expires,
            LastModified,
            Location,
            Pragma,
            ProxyAuthenticate,
            RetryAfter,
            Trailer,
            TransferEncoding,
            Vary,
            Via,
            Warning,
            WWWAuthenticate,


        };
        
      
    }

    
}
